package com.chtw.dao;

import com.chtw.entity.Allmessage;
import com.chtw.entity.AllmessageExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AllmessageMapper {
    int countByExample(AllmessageExample example);

    int deleteByExample(AllmessageExample example);

    int deleteByPrimaryKey(Integer mid);

    int insert(Allmessage record);

    int insertSelective(Allmessage record);

    List<Allmessage> selectByExample(AllmessageExample example);

    Allmessage selectByPrimaryKey(Integer mid);

    int updateByExampleSelective(@Param("record") Allmessage record, @Param("example") AllmessageExample example);

    int updateByExample(@Param("record") Allmessage record, @Param("example") AllmessageExample example);

    int updateByPrimaryKeySelective(Allmessage record);

    int updateByPrimaryKey(Allmessage record);
}